package com.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author WuLiTing
 * @since 2021-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_registered")
public class Registered extends PageParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 挂号ID
     */
    @TableId(value = "registered_id", type = IdType.ID_WORKER_STR)
    private String registeredId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 医生ID
     */
    private String doctorId;

    /**
     * 挂号时间
     */
    private Date registeredDate;

    /**
     * 序号
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 挂号状态
     */
    private String registeredStatus;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String doctorName;

    @TableField(exist = false)
    private Double registeredFee;

}
